#ifndef __DEF_H__
#define __DEF_H__

#define U32 unsigned int
#define U16 unsigned short
#define S32 int
#define S16 short int
#define U8  unsigned char
#define	S8  char

#define	BYTE	char
#define	WORD 	short
#define	DWORD	int
#define	UINT	U32
#define	LPSTR	U8 *		

#define TRUE 	1   
#define FALSE 	0

#define	outportb(port, data)	*(volatile U8 *)(port) = (data)
#define	outportw(port, data)	*(volatile U16 *)(port) = (data)
#define	outportd(port, data)	*(volatile U32 *)(port) = (data)
#define	inportb(port)	*(volatile U8 *)(port)
#define	inportw(port)	*(volatile U16 *)(port)
#define	inportd(port)	*(volatile U32 *)(port)


#define	SIZE_64K	0x00010000
#define	SIZE_128K	0x00020000

typedef struct {

	//unsigned long boot_key;
	unsigned char Os_Auto_Flag;

	//
}EnvParams;

//static unsigned char Os_Auto_Flag;

#endif /*__DEF_H__*/

